package com.weixing.mall.provider.model.vo.cms;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.constant.DatePattern;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: kfc
 * @Description: <br/>
 * Date:Create in 2019/9/6 15:21
 * @Modified By:
 */
@Data
public class NewsEditVo {
    private Long id;
    private String title;
    private String subTitle;
    private String desp;
    private String img;
    private Integer type;
    private String content;
    private Integer status;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pubTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = DatePattern.NORM_DATE_PATTERN)
    private Date endTime;
}
